﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FA.Library.Sim.Aircraft;

namespace FA.Library.Sim.Events
{
    /// <summary>
    /// Event handler for messages sent by the sim plugin.
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="param"></param>
    public delegate void SimAircraftModelChangedEvent(object sender, SimAircraftModelChangedEventArgs param);

    /// <summary>
    /// Event data.
    /// </summary>
    public class SimAircraftModelChangedEventArgs : SimEventParam
    {
        public AircraftModel AircraftModel { get; private set; }

        public SimAircraftModelChangedEventArgs(AircraftModel aircraftModel)
        {
            AircraftModel = aircraftModel;
        }
    }
}
